package main

import "fmt"

func main() {
	ch1 := make(chan int)

	go func() {
		fmt.Println("子goroutine开始执行。。")
		data := <-ch1 //从 ch1 中读取数据
		fmt.Println("data:", data)
	}()
	ch1 <- 10
	fmt.Println("main...over...")
}
